import {defineComponent, ref} from "vue";
import {NCalendar, NConfigProvider} from 'naive-ui'
import {addDays} from 'date-fns/esm'

export default defineComponent({
    name: "NaiveCalender",

    setup() {
        return {
            value: ref(addDays(Date.now(), 1).valueOf())
        }
    },

    render() {
        return (
            <>
                <NCalendar value={this.value}/>
                <NConfigProvider>sss</NConfigProvider>
            </>

        )
    },
});
